var mongoose = require('mongoose');
const reg = async (data) => await mongoose.model('admins').create(data);
const isUse = async (data) => await mongoose.model('admins').find(data);
const Login = async (data) => await mongoose.model('admins').find(data);
module.exports = {reg ,isUse,Login}